package com.enjoy;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import javax.servlet.annotation.WebListener;

@WebListener
public class EnjoyListener implements ServletContextListener {
    @Override
    public void contextInitialized(ServletContextEvent sce) {
        System.out.println("EnjoyListener---contextInitialized---");
    }

    @Override
    public void contextDestroyed(ServletContextEvent sce) {
        System.out.println("EnjoyListener---contextDestroyed---");
    }
}